package com.ssm.entity.system;

import java.util.Date;

import com.ssm.entity.Base;

public class Role extends Base {

	/**
	 * 角色编号
	 */
	private String id;
	
	/**
	 * 角色名称
	 */
	private String name;
	
	/**
	 * 创建人
	 */
	private String creater;
	
	/**
	 * 创建时间
	 */
	private Date createTime;
	
	/**
	 * 描述
	 */
	private String describes;
	
	/**
	 * 权限编号
	 */
	private String privilegeId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDescribes() {
		return describes;
	}

	public void setDescribes(String describes) {
		this.describes = describes;
	}

	public String getPrivilegeId() {
		return privilegeId;
	}

	public void setPrivilegeId(String privilegeId) {
		this.privilegeId = privilegeId;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Role [id=").append(id).append(", name=").append(name)
				.append(", creater=").append(creater).append(", createTime=")
				.append(createTime).append(", describes=").append(describes)
				.append(", privilegeId=").append(privilegeId).append("]");
		return builder.toString();
	}
}
